A5W_LOAD_COMPONENT Function

Syntax

Data_Structure as P = A5W_LOAD_COMPONENT( Component_Name as C )

Arguments

Data_Structure

A dot variable containing the component data structure.

Component_Name

The name of the component to load.

Description

Loads a web component into an A5W page and returns a pointer to its data structure.

Discussion

The A5W_LOAD_COMPONENT() function loads a web component into an A5W page and returns a pointer to its data structure.

Examples

The following example is for a Alpha Anywhere table based grid. It sets the default filter and loads the component.

tmpl.DBF.filter = "Course_Id <>\"\""
tmpl_CourseInfo = a5w_load_component("CourseInfo")

Next, the script resets the filter to select specific records.

tmpl_CourseInfo.DBF.filter = "Course_Id=\""+courseid+chr(34)

Limitations

Web publishing applications only.

See Also